package com.by.mapper;

import com.by.bean.WareHousing;
import com.by.common.crud.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

@Mapper
public interface WareHousingMapper extends BaseMapper<WareHousing> {

    String queryMaxCode();

    /**
     * 修改状态
     * @param id
     * @param status  0禁用 1 启用
     * @return
     */
    int updateStatus(@Param("id") int id, @Param("status") int status);


    List<Map> getWareHousingList();

}
